// 测试 模板继承(Template inheritance)

const path = require('path');
const template = require('art-template');

let data = {
    title: '学生列表',
    message: '没有学生信息'
}

let pathname = path.join(__dirname, '../assets/templates/student.art');
let html = template(pathname, data);
console.log(html);